package org.example.filter;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author 韦兵
 * @since 2025/4/28 14:52
 */
@Slf4j
public class MyFilter1 implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        log.info("filter1 do filter...");
        filterChain.doFilter(servletRequest, servletResponse);
        log.info("allow...");
    }
}
